<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input v-model="name" type="text"><br/>
        <input v-model="pass" type="text" type="password"><br/>
        <button @click="submit">提交</button>

        <div>{{message}}</div>

        <div class="display">
           <ul>
               <li v-for="item in container">{{item}}</li>
           </ul>
        </div>
    </div>
</body>
<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    const apps=new Vue({
        el:'#app',
        data:{
           message:'vue简写',
           container:[],
           name:'',
           pass:''
        },
        methods:{
            submit(){
              this.container.push(this.name,this.pass)
              setTimeout(()=>{
                this.$router.push(/meeting)
              },1000)
            }
        }
    })
</script>
</html>